from django.urls import path

from accounts import views

urlpatterns = [
    path('user/info/', views.user_info, name='user_info'),
    path('user/list/slice/', views.user_list_slice, name='user_list_slice'),
    path('user/list/paginator/', views.user_list_paginator, name='user_list_paginator'),
    path('user/list/class/', views.UserListView.as_view(), name='user_list_class'),
    # 用户登录表单
    path('user/login/', views.user_login, name='user_login'),
    # 用户信息维护
    path('user/edit/', views.user_edit, name='user_edit'),
    # 用户注册
    path('user/reg/', views.user_reg, name='user_reg'),
]